package com.guanglan.service;

import java.util.List;
import java.util.Map;
import com.guanglan.domain.SysPermission;

public interface SysPermissionService {
	
	  	int deleteByPrimaryKey(Long id);

	    int insert(SysPermission record);

	    int insertSelective(SysPermission record);

	    SysPermission selectByPrimaryKey(Long id);

	    int updateByPrimaryKeySelective(SysPermission record);

	    int updateByPrimaryKey(SysPermission record);
	    
	    List<SysPermission> selectByPermissionId(List<Long> list);
	    
	    List<SysPermission> getSysPermissions(Map<String,Object> params);
	    
	    Integer getSysPermissionsCount(Map<String,Object> params);
	    
	    List<SysPermission> getAllParentPerm();
}
